package com.example.keepserver.dto;

import lombok.Data;
import java.util.List;
import java.util.Map;

@Data
public class PlatformStatsDTO {
    
    private SummaryDTO summary;
    private Map<String, DailyStatsDTO> dailyStats;
    private List<ActiveUsersDTO> activeUsersByDate;
    private List<TypeDistributionDTO> typeDistribution;
    
    @Data
    public static class SummaryDTO {
        private Long totalActivities;
        private Double totalDistance;
        private Integer totalDuration;
        private Integer totalCalorie;
        private Integer uniqueUsers;
    }
    
    @Data
    public static class DailyStatsDTO {
        private Integer count;
        private Double totalDistance;
        private Integer totalDuration;
        private Integer totalCalorie;
        private Integer uniqueUserCount;
    }
    
    @Data
    public static class ActiveUsersDTO {
        private String date;
        private Integer activeUsers;
    }
    
    @Data
    public static class TypeDistributionDTO {
        private String type;
        private Integer count;
        private String percentage;
    }
} 